﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using Logistics_Management_System.Objects;

namespace Logistics_Management_System.Resource
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IVehicle_Service" in both code and config file together.
    [ServiceContract]
    public interface IVehicle_Service
    {
        [OperationContract]
        List<LG_Vehicle> GetAllVehicle();

        [OperationContract]
        ReturnBool AddNewVehicle(LG_Vehicle vehicle);

        [OperationContract]
        ReturnBool EditInfoVehicle(int vehicle_id, LG_Vehicle updated_vehicle);

        [OperationContract]
        ReturnBool RemoveVehicle(int vehicle_id);
    }
}
